package org.example.travel_web.service;

import org.example.travel_web.dto.PageResult;
import org.example.travel_web.dto.login.ForgetReq;
import org.example.travel_web.dto.login.LoginReq;
import org.example.travel_web.dto.login.LoginResult;
import org.example.travel_web.dto.login.RegisterReq;
import org.example.travel_web.dto.user.PageReq;
import org.example.travel_web.dto.user.PageResp;
import org.example.travel_web.dto.user.UserReq;
import org.example.travel_web.entity.UserET;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 23591
* @description 针对表【travel_user(用户表)】的数据库操作Service
* @createDate 2025-01-21 15:58:21
*/
public interface UserService extends IService<UserET> {

    LoginResult login(LoginReq req);

    void register(RegisterReq req);

    PageResult<PageResp> pageResult(PageReq req);

    void addUser(UserReq req);

    void updateUser(UserReq req);

    void delUser(Long[] ids);

    void forget(ForgetReq req);
}
